import request from '@/utils/request'

export function fetchResources(teamId) {
  return request({
    url: '/resources/teams/' + teamId,
    method: 'get'
  })
}

export function deleteResource(id) {
  return request({
    url: '/resources/' + id,
    method: 'delete'
  })
}
